package com.example.service.usr;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.context.PageResult;
import com.example.entity.ProductDO;
import com.example.vo.product.UsrProductDetail;
import com.example.vo.product.UsrProductPageReq;
import com.example.vo.product.UsrProductPageResp;
import org.springframework.core.io.UrlResource;
import org.springframework.http.ResponseEntity;

public interface ProductService extends IService<ProductDO> {
    UsrProductDetail findById(Long productId);

    PageResult<UsrProductPageResp> productPage(UsrProductPageReq req);

    ResponseEntity<UrlResource> findPicByName(String name);
}
